package com.ruoyi.yipaiju.mapper;

import java.util.List;
import com.ruoyi.yipaiju.domain.GroupDiscountHouseSigningorder;
import org.apache.ibatis.annotations.Param;

/**
 * fo_group_discount_house_signingorderMapper接口
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public interface GroupDiscountHouseSigningorderMapper 
{
    /**
     * 查询fo_group_discount_house_signingorder
     * 
     * @param id fo_group_discount_house_signingorder主键
     * @return fo_group_discount_house_signingorder
     */
    public GroupDiscountHouseSigningorder selectGroupDiscountHouseSigningorderById(Long id);

    /**
     * 查询fo_group_discount_house_signingorder列表
     * 
     * @param groupDiscountHouseSigningorder fo_group_discount_house_signingorder
     * @return fo_group_discount_house_signingorder集合
     */
    public List<GroupDiscountHouseSigningorder> selectGroupDiscountHouseSigningorderList(GroupDiscountHouseSigningorder groupDiscountHouseSigningorder);

    /**
     * 可以业务主键查询一条fo_group_discount_house_signingorder
     *
     * @param groupDiscountHouseSigningorder fo_group_discount_house_signingorder
     * @return fo_group_discount_house_signingorder集合
     */
    public GroupDiscountHouseSigningorder selectOneGroupDiscountHouseSigningorder(GroupDiscountHouseSigningorder groupDiscountHouseSigningorder);

    /**
     * 新增fo_group_discount_house_signingorder
     * 
     * @param groupDiscountHouseSigningorder fo_group_discount_house_signingorder
     * @return 结果
     */
    public int insertGroupDiscountHouseSigningorder(GroupDiscountHouseSigningorder groupDiscountHouseSigningorder);

    /**
     * 修改fo_group_discount_house_signingorder
     * 
     * @param groupDiscountHouseSigningorder fo_group_discount_house_signingorder
     * @return 结果
     */
    public int updateGroupDiscountHouseSigningorder(GroupDiscountHouseSigningorder groupDiscountHouseSigningorder);

    /**
     * 条件修改fo_group_discount_house_signingorder
     *
     * @param groupDiscountHouseSigningorder fo_group_discount_house_signingorder
     * @param groupDiscountHouseSigningorder fo_group_discount_house_signingorder条件
     * @return 结果
     */
    public int updateGroupDiscountHouseSigningorderCondition(@Param("groupDiscountHouseSigningorder") GroupDiscountHouseSigningorder groupDiscountHouseSigningorder, @Param("groupDiscountHouseSigningorderCondition") GroupDiscountHouseSigningorder groupDiscountHouseSigningorderCondition);

    /**
     * 删除fo_group_discount_house_signingorder
     * 
     * @param id fo_group_discount_house_signingorder主键
     * @return 结果
     */
    public int deleteGroupDiscountHouseSigningorderById(Long id);

    /**
     * 条件删除fo_group_discount_house_signingorder
     *
     * @param groupDiscountHouseSigningorder fo_group_discount_house_signingorder
     * @return 结果
     */
    public int deleteGroupDiscountHouseSigningorderByCondition(GroupDiscountHouseSigningorder groupDiscountHouseSigningorder);

    /**
     * 批量删除fo_group_discount_house_signingorder
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGroupDiscountHouseSigningorderByIds(Long[] ids);
}
